package cn.com.surker.system.dao;

import cn.com.surker.system.entity.SysMenuRoleController;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 菜单操作角色控制表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2024-06-29
 */
public interface SysMenuRoleControllerDao extends BaseMapper<SysMenuRoleController> {

    /**
     * 根据状态授权信息
     * @param roleId
     * @param menuId
     * @param status
     * @return
     */
    SysMenuRoleController findMenuRole(Long roleId, Long menuId, Integer status);

    /**
     * findUidOrUrl
     * @param uid
     * @param url
     * @return
     */
    SysMenuRoleController findUidOrUrl(Long uid, String url);
}
